package com.woniuxy.service.imp;

import com.woniuxy.dao.MyDao;
import com.woniuxy.entity.Rbacmanager;
import com.woniuxy.service.MyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author：向天浩
 * @Date：2022/2/14 17:11
 * @Description :TODO
 */
@Service
public class MyServiceImp implements MyService {
    @Autowired(required = false)
    MyDao myDao;

    @Override
    public Rbacmanager findById(int id) {
        Rbacmanager byId = myDao.findById(id);
        return byId;
    }
}
